To
finish creating the index page, paste the content below to a text
editor or html editor that supports php tags.
Then, save it as a file your server will recognize as the index file.
Also, it must be executable by php, so generally you will need to
name it index.php, index.php3, or index.phtml.
Once you have saved it, you will need to save it to the directory
you with to password protect. (via ftp if you are not local to your
web server.) Once this is done, your setup should be complete!